import request from "./request";

export const getHttp = (url, params) => {
    return request.get(url, { params });
}

export const postHttp = (url, params) => {
    return request.post(url, params);
}

export const deleteHttp = (url, params) => {
    return request.delete(url, { params: { params } });
}

export const putHttp = (url, params) => {
    return request.put(url, params);
}

export const pathHttp = (url, params) => {
    return request.patch(url, params);
}